﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace Web.Domain.Entities
{
    public class Display
    {
        [HiddenInput(DisplayValue = false)]
        public int id { get; set; }
        [Display(Name = "显示方式名称")]
        [Required(ErrorMessage = "请输出名称")]
        public string Name { get; set; }
        [Display(Name = "所属控制器")]
        public int CompoId { get; set; }
    }
}
